Make logout work.