Handle correctly http error raise in run_http_exc

Currently http errors are raised inside a try bloc and transformed in
a more generic exception. This change raises http errors outside the
try bloc.

Change-Id: Iece270ac84925625e848f3049072f39e19e068cc
Merge "Handle correctly http error raise in run_http_exc"