Basic Authentication over TLS should be safe since the connection is encrypted before the authentication is passed. TLS is part of the initial handshake between client and server and everything that goes over the connection will then use the secure connection. So that shouldn't be a worry.
However, if you are already passing username and password and lUseSsl is set then that's already happening...
What are you doing in code and also what is the server's supported authentication type list?
+++ Rick ---
from Maui, Hawaii