fix postgresql password generation so that the password does not contain problematic characters that mess with the connection string