login does an implicit logout

Finishes [#66476846]