telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363