refactor login resource to be a bit more standard (bug 888075)
Merge pull request #147 from andymckay/888075

refactor login resource to be a bit more standard (bug 888075)