Ensure CSRF token is generated on authentication