fix(client): Replaced cookie checks with localStorage checks as a work around for 3rd party cookies in Firefox Nightly.