fix authentication tests by updating users controller