Login state is now read upon a clean page load, in case an old session remains.