Fix login tests
Simplify HTML in mocks
Rewrite and test getBalance