Remove legacy cookie auth and adjust e2e tests
The new Auth0 authentication code https://github.com/compdemocracy/polis/pull/1981 allows us to begin to both authorize AND authenticate users. With this in place, we need to remove all areas in the codebase where we are relying on both legacy authentication and use of cookies to track authenticated and unauthenticated user activity. We should instead leverage localstorage to track survey participation (especially across embeds) and use signed JWTs present in authorization header for user identification and authorization
A great place to start would be to remove all session & cookie tracking in server.ts - the new auth0 functionality uses JWTs and localstorage to track users. From there, once the API can be interacted with entirely without cookies (authorization headers only) we'll need to modify client-participation to use the XID system by default
Regarding tests, the suite has been adjusted so that logging in with auth0 works, however, there are several tests that are no longer relevant (signout, register user) as well as several testing methodologies that need to be refactored (i.e using cypress to create a conversation instead of firing off an API post)
It probably makes sense to do all of this work inside the following PR: https://github.com/compdemocracy/polis/pull/1981