deprecate AuthenticationServiceFactory