After logging to PostgreSQL server, run the following SQL to change the password.
ALTER USER user_name WITH PASSWORD 'new_password';