fix domain in login/logout menu not changed after switching domain