Moving the validation for Realms when managing Agents to the IdentityManager.