Login v2 API

Introducing the v2 Login API, backed by the original Admin.Login logic. Builds on proposed pull request #367.
I like Dave's suggestion, I wonder if it would be better as "const fail ...".