I think what you are asking for is SMTP-AUTH support.
Usually when doing this for customers, we simply add the IP address of the AOLserver machine to the list of allowed machines that can send without a password. Your provider may allow you to do that.