Login v2 API

Introducing the v2 Login API, backed by the original Admin.Login logic. Builds on proposed pull request #367.
Added the "Admin" check. Nice catch.

I feel like a registry is overkill unless we have more than one root object.