Handle missing credentials non-JSON responses