you could add "wikiURL" as a third parameter, because logInCookie method with only two params is using still Global.DOMAIN