Fix mongolog-filter bug with --limit

The script used to assume that the total number of results is >=
limit, and crash if that wasn't the case.
Allow connecting to mongodb with no auth (username/password)