Fixes an issue where an improperly formatted authorization header causes...

... the request to fail due to the wrong parameter parameter being passed to response.error