Change_sqlpass escape the passwords before encrypting them. But this is only appropriate when a DB function is used for password encryption.
With a PHP encryption, escaping indeed changes the password.
The following patch escapes the password only when a DB function is used.
Versions:
Squirrelmail 1.4.21 (Debian)
Change_sqlpass 3.3-1.2