Minor updates to mongodb.rb for hardening.