Implemented handling of AJAX authentication errors.