fix setting of username and password for stand-alone SMTP server.

closes #34