An attempt to get username/password authentication in node.js