Ensure the browser test environment is set up

ENV['MEDIAWIKI_PASSWORD'], which is required in the first step of the
"User sees modal call to action after registration" scenario, is only
set if the login hook is fired.

Change-Id: I9dad281fdc7e1d094b536f53996fbcc2688429bb
Merge "Ensure the browser test environment is set up"