Login v2 API

Introducing the v2 Login API, backed by the original Admin.Login logic. Builds on proposed pull request #367.
It's no longer used in more than one place, so I think a constant is probably less useful than it otherwise would have been.