The login was hard-coded to root, this was fixed to use by default the local login name. The option -l was added to allow to specify a different login name.