Add test for AuthProvider