Fix Basic Auth with non-krb5 mechanisms