Correct SMTP username and password variables, and username check

The wrong variable named was used in config to refer to the SMTP username and SMTP password.  Also, the check for a blank password by comparing a string to None was not working correctly.  It now checks if the SMTP_USERNAME string equals "".