support for db auth in dump_mongodb.py

also, better arg handling, error messages, etc