[patch] KeyError when trying to logout more than once
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
For example, if you have two tabs open and try to logout in each, you will get a
KeyError the second time.
logout() should not raise an exception if called more than once.