Fixed recursive logout idiocy