Silent serial consoles need an Enter before login: appears. That
newline was treated as takeover and disabled the shared auto-login
detector, so neither saved username nor password was filled.
Ignore a lone CR, LF, or CRLF until credentials have been sent. Other
interactive input still cancels, and Enter after a credential write
still takes over.
Fixes#3906
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>