add support for mongodb auth - fixes #10