Fixed problem with mail authentication by checking for username = None
Fixed support for psycopg2
Increased maximum size for non-default logo. Default appearance unchanged.