Fix to the UserService IsAllowed method.