Fix HAWelcome unit tests.

The tests had some unexpected IO that needed to be encapsulated to make
these unit tests. They were failing on attempts to connect to the
default wiki.
Merge pull request #4117 from Wikia/fix-hawelcome-unit-tests

Fix HAWelcome unit tests