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