Redact authentication details from logging on startup

When running with mongo auth details in the config file, passwords would be output to the log file. This fixes that problem.