Kerberos SSO Update

When going back from SSO to database mode, SSO was still
being attempted. Code was looking at the wrong configuration
variable for authentication mode.