MHT Authentication – Login/Password Properties

Question:
My HTML page requires authentication to access. If I try to download it with Chilkat MHT, I get the following text in the mht.LastErrorText property:

ChilkatLog:
  GetMHT:
    version: 5.2.1
    DllDate: Sep 12 2008
    Username: ***
    Component: .NET 2.0
    url: http://***.aspx
    root_url: http://***
    base_url: http://***
    url: http://***.aspx
    Not yet connected to web server. Need to establish connection.
    httpServer: ***
    port: 80
    Auto-adding any accumulated cookies.
    CookieDir: memory
    LoadCookieJar:
      CookieDir: memory
      Domain: ***
      Path: /***.aspx
      HashKey: ***.xml
      No cookies exist yet.
    No cookie jar found.
    StatusCode: 401
    StatusText: Unauthorized
    HttpResponseCode: 401

Answer
Set the mht.WebsiteLogin and mht.WebsitePassword properties prior to calling GetMHT.