title: How can you specify the mongodb username and password using a Server instance?
body: <p>The <a href="http://mongodb.github.com/node-mongodb-native/api-generated/mongoclient.html" rel="noreferrer">MongoClient</a> documentation shows how to use a Server instance to create a connection:</p>
  
  <pre><code>var Db = require('mongodb').Db,
      MongoClient = require('mongodb').MongoClient,
      Server = require('mongodb').Server;
  
  // Set up the connection to the local db
  var mongoclient = new MongoClient(new Server("localhost", 27017));
  </code></pre>
  
  <p>How would you specify a username and password for this?</p>