Added stub for authentication tests. Factored out some shared testing functions to testutils.
Added default configuration for auth tests.
Tweaked test names and added new stub tests.
Changed stub tests over to being async.
Replaced Mongoose with promised-mongo. Mongoose was causing problems for my integration testing and I was intending on using promised-mongo elsewhere anyway.
Re-added mongojs so I could get the tests working again. Soon I'll convert the tests over to promised-mongo.
Switched testing over to promised-mongo and removed mongojs dep.
Simplified tests using promised mongo.
Switched over to request-promise to simplify tests.
Reverted back to normal request module. Can't use request-promise as it treats HTTP failures as errors, which fails tests that check for error conditions.
Changed logs from info to verbose.
Move authentication tests. Changed authentication to using standard MongoDB nodejs driver for the moment to minimize issues (with promises).
Also doing some refactoring of the way I do testing using promises.
Refactor to remove magic strings in  code.
Added a test for login when a valid token already exists.
Added tests and some fixes to authentic code.
Final tests, HTTP post with auth enabled.