Remove debug HTTP transport.
Work around GoogleJsonResponseException weirdness with HTTP 401 responses.
Handle the case where the configured credential ID could not be found.