I\'ve setup a firebase web-app which, if a user logs in with user name and password stores the session in SessionStorage, like this:
... login(email, password):