Fixed notice in AJAX request handling if no csrf_token is provided.