Fix up the auth timing.
Merge pull request #54 from trestle-pm/bug/fix_auth