Changed to use defaultProvider as default AuthProvider