Submitted Images links showing 401 after migration

Hi I need help with my images.

We have migrated the website and the old images attached to the email from user are not viewable anymore. New submissions are ok and working. We made sure that the images are uploaded on our ftp. Seems like its not recognizing the links. We also reset the permalinks and did not resolve it.

Old image attachment via email:
https://app.magicjourneyssurrogacy.com/index.php?gf-download=2024%2F04%2FFacetune_28-04-2024-19-26-121.jpeg&form-id=5&field-id=111&hash=2b0d1bbcdffbff432514d0118a6bcde5e94b0c2daef5e77fa50f4d625c9dfe18

New image submissions:


Thanks in advanced.