Use proper md5 for postgres.