Bring postgres in line with develop
postgres: Pylint

This fixes #9920
postgres: fix: setting login could allow createdb
postgres: fix password encryption handling
postgres: small typo
postgres: Pylint fixes