code: async def login(url, *, username=None, password=None, insecure=False):
      
      from .facade import Client  # Lazy.
      from .viscera import Origin  # Lazy.
      profile, origin = await Origin.login(
          url, username=username, password=password, insecure=insecure)
      return Client(origin)
docs: Connect to MAAS at `url` with a user name and password.
  
      :param url: The URL of MAAS, e.g. http://maas.example.com:5240/MAAS/
      :param username: The user name to use, e.g. fred.
      :param password: The user's password.
      :param insecure: Whether to check TLS certificates when using HTTPS.
  
      :return: A client object.