Kerberos SSO authentication

Implements basic kerberos SSO authentication.
tempfile?