Fix login JS test to use SecureSocial endpoint.
Fix running of unit tests.
Wait until task text disappears.