code: def __init__(
      self,
      local_private_key: Optional[RSAPrivateKey],
      username: str = "mock",
  ):
      super().__init__(local_private_key)
  
      self._username = username
      self._authority_public_key = None
  
file_path: hivemind/tests/test_auth.py
imports: from datetime import datetime, timedelta
  from typing import Optional
  import pytest
  from hivemind.proto import dht_pb2
  from hivemind.proto.auth_pb2 import AccessToken
  from hivemind.utils.auth import AuthRole, AuthRPCWrapper, TokenAuthorizerBase
  from hivemind.utils.crypto import RSAPrivateKey
  from hivemind.utils.logging import get_logger
label_desc: Use image node_id 1 to create a new MockAuthorizer object from inherited base classes: TokenAuthorizerBase with example: obj = MockAuthorizer(local_private_key, username)