Integration test auth flow.

Up until now I have to rerun the bin scrip to verify I haven’t broken
everything.  Take steps to make that more automated and repeatable by
writing acceptance tests.