Better regexp for the login command.