Postgresql repair and mail fixes

Everything seems to work fine with the postgresql_psycopg2 driver.

My mailserver does not require authentication for local connections; attempting to log in throws
 SMTPException: SMTP AUTH extension not supported by server.
Checking for a username of None instead of an empty string partially resolves the issue.
Fully resolving the issue required checking for a None username and skipping the login method call.

My logo was also getting really squished, so I bumped up the max-height to 190.

Still working on trying to get uwsgi working properly, will save that for another pull request.