Cause:
engine-backup uses pg_dump (without the '--no-owner' option) for backup, and psql to restore. Some errors from psql are filtered. Non-filtered errors cause engine-backup to abort.
Consequence:
Using options to change db credentials to use another user on restore, cause psql to fail, while trying to run the commands to grant permissions to the previous owner.
Fix:
The list of filtered errors was extended to include errors about the previous user not existing.
Result:
engine-backup --mode=restore, with options to change database credentials, including a different database user, does not fail, even if restoring to a database in which the previous user does not exist.