Clear parse cache on login or manual rescan
PEP8, fix SMTP auth encoding, lengthen timeouts (issues #903, #936)