def sha(self):
        """Return sha, lazily compute if not done yet."""
        if self._sha is None:
            self._sha = compute_auth_key(self.userid, self.password)
        return self._sha
Return sha, lazily compute if not done yet.