Fixes for Heimdal Kerberos.