Fix unintentional login persistence on restart