By configuring a custom ILcdOWSTransport, you can provide credentials. For basic authentication, we can provide the username and password in the constructor.

ILcdOWSTransport transport = new TLcdOWSHttpTransport("username", "password");