index: Add support for username and password

Closes #14.

See duojs/duo#131.
Makefile: add a `node_modules` target