One authenticated unit test

The PR compliment to #2581

Standard install and testing procedures to test.

This includes a `npm-shrinkwrap.json` due to a bug in `selenium-standalone` breaking `phantomjs`.
We should also reference `local.env` here.