Render component,Tested on both web and desktop
1. Make sure the user is logged out and there is no opened app
-- IndexedDB storage should be empty
{F512388}
-- And view shared workers (in Chrome it's URL `chrome://inspect/#workers`) and there shouldn't be anything connected to `localhost`.
{F512389}
2. Log in
-- console should log `Database initialization success`
-- check indexedDB content
{F512390}
-- see if worker was spawned
{F512391}
-- see Worker logs (it's separate console)
-- it should say `Creating fresh database - Db version: 0`
3. Close the tab
-- worker should die (not listed)
4. Open the tab
-- console should log `Database initialization success`
-- see if worker was spawned
-- see Worker logs - it should say `Database exists and is properly encrypted, using persisted data`
5. log in/log out and check if it worksLog out
-- IndexedDB content should be deleted
-- worker is alive until tab is opened