(bug 1050765) fix persona getting out of sync

The login status doesn't persist anymore on the client. A check is instead done via ajax on page load.