big cleanup, fix basic auth

Fixing up a number of issues, I'll try to break this down:

- No need to commit `node_modules` as it can be installed per-user with `npm install`. The standard practice is to add this folder to the gitignore.
- Remove a bunch of trailing spaces and extra newlines
- Add alternate basic auth module that's easier to deal with and verify that it's working
- Clean up package.json file and add dependencies to it

There's more that could be done here but this is a good start! To get the app running, clone it down, run `npm i`, then you can run it as usual.