Now using jQuery.post for embedded JSON authentication instead of XMLHttpRequest