Validates AntiForgeryToken from header of AJAX request.