Multiple instances. Visiting the second instance signs out the logged in account on the running instance

Just use two hostfile entries. They can share the same IP, and won’t suffer from cookie collision.