Added kerberos support