code: async def login(
              cls, url, *, username=None, password=None, insecure=False):
          
          profile, session = await bones.SessionAPI.login(
              url=url, username=username, password=password, insecure=insecure)
          return profile, cls(session)
docs: Make an `Origin` by logging-in with a username and password.
  
          :return: A tuple of ``profile`` and ``origin``, where the former is an
              unsaved `Profile` instance, and the latter is an `Origin` instance
              made using the profile.