Add dependency injection configuration to identity accessor