Add support for user[name] and password
Merge pull request #1 from iarna/master

Add support for user[name] and password