attempted fix for #479 so that we include the error reporting status inside the same ajaxError handler as used for logging out & redirection