Fixes get_credential_fields when using xml client

get_credential_fields attempts to convert the response to xml, even when
it's already xml.