please look at UserLoginTest.php for setting wiki id.