Changing the IDM subsystem to handle the IdentityManagerFactory instead of the IdentityManager.