Quick fix for Kerberos: don't use hardcoded userPlusRealm length
Merge branch 'kerberos-fix' into tags