text: Title: S3 credentials in links missing for private buckets after upgrade to Django 5.1
  Body: Hi @jschneier!
  
  I found an issue with Django 5.1. After the upgrade (using django-storages 1.14.4), all GET-parameter credentials for private S3 buckets are not being added to the links in my templates anymore. This means that I don't have access to the files.
  
  I have no idea and since I have little knowledge on how this amazing package works, I can't really contribute any suggestions. 😔 I just verified that it's really Django 5.1.
  
  Here's my setup, it might help in reconstructing the case.
  
  
  ```python
  from django.conf import settings
  from storages.backends.s3boto3 import S3Boto3Storage
  
  
  class PrivateMediaStorage(S3Boto3Storage):
      location = settings.AWS_PRIVATE_MEDIA_LOCATION
      querystring_expire = 3600  # seconds until the generated link expires
      default_acl = "bucket-owner-full-control"
      file_overwrite = False
      custom_domain = False
  ```
  
  Thanks so much for looking into this!  
  Ronny
  
  PS: It seens unrelated to https://github.com/jschneier/django-storages/issues/1437 since there, Django 4.2 was used.