fix tests (auth in indexedDB + broadcast channel → node js)

The tests are broken because the auth is using indexed DB instead of local storage (which was mocked).

Also, there is now a service worker and a broadcast channel to allow communicating between the service worker and the web page.

Investigate how to to that:

Maybe:

Edited by 4www