How to specify individual username & password parameters with mongoskin?

I'm connecting to a mongodb db with authentication with mongoskin, and know you can specify a db user like this:

[*://][username:password@]host[:port][/database][?auto_reconnect[=true|false]]

However im getting some malformed url errors (presumably from passwords), and I'd like to know if it's possible to pass the username/password parameters separately from the url. I'm using this kind of connection format:

var db = mongo.db(DBURL, { safe: true, auto_reconnect: true });

Can the user/pass be specified in the options? I can't see from the documentation.

Looking at the code, this should work:

var mongo = require('mongoskin');
var db    = mongo.db(DBURL, { username : USERNAME, password : PASSWORD, ... });