Merge pull request #2 from hippagriff/jon_auth

First version of authentication using authtokens (and cacheing them)