Tag user settings cookie and session data with uid

User settings stored in session and cookie were non-user specific,
by prefixing the variable name with the uid we can retrieve these
values on a per-user basis.

Change-Id: Id5f2c360eb9dafdd36385ae595f6ee773c6aad34
Closes-Bug: 1363188