Fix for SMTP username and password test.