fixed getAuthenticationProvider in User