Added getAuthenticator method to AuthenticationService.