Logs the user specified in the repo into the wiki.

        :arg repo: an instance of config.RepositorySettings with wiki credentials.

def _site_login(self, repo):
        """Logs the user specified in the repo into the wiki.

        :arg repo: an instance of config.RepositorySettings with wiki credentials.
        """
        try:
            if not self.testmode:
                self.site.login(repo.wiki["user"], repo.wiki["password"])
        except LoginError as e:
            print(e[1]['result'])
        self.basepage = repo.wiki["basepage"]