preserve PageStack after logout

Otherwise, the entry point class (which is responsible for
switching pages) is still subscribed to the old (no longer used)
PageStack, and loses the ability to detect page change events.