fixed problem with connect command, cmd_connect(...), where while( auth ) {... never exited because auth wasn't marked true