Fix UserController test errors