fixes logout bug when you're logged into multiple domains