Fix #504 - check that the interstitial div is present and on-top of the ui, then we know the prompt is there.  Also, add option to org switcher to say we're on the login page, so that it doesn't try to navigate to the top level, which would cause a page reload.