tests/krb5: Add method to get DC credentials