Had a similar problem with this the other day. I found the issue was the old CDR password was stored in the mysql database. (FreePBX did not allow me to update or uninstall the CDR module until I did this first).
Easy fix for it would be to SSH into the PBX and log into mysql:
mysql -u freepbxuser -p
Then select the freepbx database:
use `asterisk`;
Now update the old password to the new one:
update `freepbx_settings` SET `value` = '[New Password]' WHERE `value` = '[Old Password]';
Things should work after this. If not you may need to reload amportal and then try to update the CDR module.
Disclaimer: It’s certainly worth making a backup of your Database before doing this, especially if you don’t understand what you’re doing. You could break something.