trying fix AuthenticationProvider