#7211: Add X-Requested-With header to all XHR requests. When an XHR fails with 401, post a message to the parent frame to trigger a page reload.