Fixed bug with login command.