Fix authentication for the json webservice
Raise a specific error for http errors