Try with no quotes:

ALTER USER yyy IDENTIFIED BY VALUES password_from above query ;