during authorization handle properly IO exceptions and errors which differ from HttpResponseException (TheWeatherCompany/grid-api#772)