implement login 3.0

https://bugzilla.mozilla.org/show_bug.cgi?id=1090285
This isn't being used anymore, no?