[Bugs 873091] Add unit testing to Login.wm.o w/ Mocha

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=873091