added MockAuthenticationProvider for testing