Kerberos SSO authentication

Implements basic kerberos SSO authentication.
Thanks. Fixed.