tests/krb5: Refactor encryption type selection