Fix unintentional login persistence on restart

Fixes #26.