Clean kerberos

Clean the kerberos module from some dead code and fix some minor issues in documentation