Feature/use twisted sessions
This merge request implements:
- use of cookies in the client to allow use of twisted sessions (
twisted.web.client.CookieAgent
). - reuse of the agent in the client so the session persists through many synchronizations.
- removal of wsgi token authentication middleware.
- use of twisted http authentication facilities in the server (
twisted.cred
,twisted.web.guard
). - the caching of authentication data in twisted sessions (
twisted.web.server.Session
).
There's some initial discussion in the issue: https://leap.se/code/issues/8667