adding support for admin_username and password to database provider

In order to use mongo with authentication an optional admin username and
password paramater are added, and used when connecting to mongo if defined