[web] Add presisting device ID
Summary: Add persisting device ID on web.
Test Plan: Check with redux dev tools that the device ID stays the same in a different tab and after closing all the tabs and opening a new one when a user is logged in.
Reviewers: tomek
Reviewed By: tomek
Subscribers: ashoat, atul, abosh
Differential Revision: https://phab.comm.dev/D4887