Allow token authentication

This will allow for simple programatic access, so we can send homeworks
on git post-commit hooks, for example.