tests/krb5: Fix checking for presence of error data