ssh: fix setting the username part

Right now, we'd always be setting a NULL username.