Update all loggedInUser access to be dynamic (bug 1066511)

why don't you just set `document.body.dataset.loggedInUser` directly?