Admin.Login v2 API with v1 fallback.

This is a resubmit of pull request #392, to squash the patch & so that the buildbot can read the landing tag. Already LGTM'd.