SWC-1479: on initial app load, reload session data if token is present. move session data out of cookie and into web local storage
fix merge
SWC-1469 moved key, fixed and added tests
Merge pull request #1019 from jay-hodgson/SWC-1479

Swc-1479: do not store session data (with user profile) in a cookie