Working with v1 *Auth* API

This branch is for historical reference; the code working with v1 of the Auth API.