Update mongo_plugin.rb

authenticate against database in mongo_plugin.rb