Update AuthProvider.cs