fix pylint C0325 superfluous-parens warnings
Merge pull request #9921 from hulu/superfluous-parens

fix pylint C0325 superfluous-parens warnings
postgres: Pylint

This fixes #9920
postgres: fix: setting login could allow createdb
postgres: fix password encryption handling
postgres: small typo
postgres: Pylint fixes
Merge branch 'fixpgsql' into develop