Added password support
Compatible with node.js v0.8.15