HTTP: updating query and response after authentication failure
Merge pull request #212 from rodrei/fix_http_auth_failure

HTTP: updating query and response after authentication failure