Fix bug in auth code generation.
Merge branch 'master' of https://github.com/jamesg/photoalbum