Adds a -l option to login and output userid.