Fixing CSRF authentication error.