workaround on logging out directly after having just logged in
Issue #43