handle 401 ajax responses with Location headers