Eliminate the use of the UserProvider for testing.