ref #9025 improve localhost mgd. handling (cont.)
cleanup
fix #7993: close views when switching user and reopen them when user is authenticated
ref #6622, #6598 Migrate New and connect menus