Fixing UserProvider test