Kerberos SSO authentication

Implements basic kerberos SSO authentication.
What a bout using base64 as the encoding?  glib2 has functions for that.