code: def authorize(scope, password=[None]):
      
      conn = scope.get('__connection__')
      password = password[0]
      if password is None:
          conn.app_authorize()
      else:
          account = Account('', password)
          conn.app_authorize(account)
      return True
docs: Looks for a password prompt on the current connection
      and enters the given password.
      If a password is not given, the function uses the same
      password that was used at the last login attempt; it is
      an error if no such attempt was made before.
  
      :type  password: string
      :param password: A password.