Fixed issue #8606: Unable to login using Postgres