FIXED: Make login immediately after logout work.