[web] Persist web sessions
Summary:
Required for ENG-6657 : Migrate session creation code to shared worker
We need to start persisting web sessions. Notification sessions are going to be persisted in indexedDB as they currently are.
Depends on D11299
Test Plan: Create a dummy session during initalization. Reload web page. Check that the session (runtime object) is no longer there. Initialize the crypto account (rehydrate). Check that the session exists.
Reviewers: kamil, tomek
Reviewed By: kamil
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11326