Added hasservice to check if the user is enabled for a particular service.
Support for autogrant and 2FA required.