Handle HTTP exceptions (e.q. 401s)