jqXHR object in load(event, ui) event within the Tab widget

jqXHR object in load(event, ui) event within the Tab widget

Would it be possible to have the jqXHR object after an Ajax request has arrived? Of course I can attach a handler to the ajaxComplete event but what if there is some logic that is required within the tab's behavior? In the snippet I have below, I need to read some information that comes along with the response headers and act on it before the tab is fully loaded.

$("#tabs").tabs({
    load: function (event, ui) {
        // FYI ui.jqXHR does not exist here
        if (ui.jqXHR.getResponseHeader("X-LOGON") == "LogOn")
        {
            // Prompt user to log in first before the content is shown
        }
        else
        {
            event.preventDefault();
        }
    }
});