Http Interceptor to check auth failures for XHR requests