Update...
Added strlen functions to error_log as follows:
error_log(strlen($stored_password));
error_log(strlen($Recordset1->getColumnVal("Password")));
Both string lengths are reported to be 70 but should be 60.
Haven't found any problems yet with character encoding in the tables/columns but am I going in the right direction now?