Add very basic user authentication support

Adding support for MongoDB user/pass authentication.