Added support for external Active Directory authorization