Fix issue with X-CSRF token