Adding unit test file for auth.js

Simple for now, don't know how to test the rest yet since it all depends on Github oauth.