ensure that there is CSRF cookie in views with AJAX forms