Update AuthenticationServiceFactory.php