ArchiveStudiesInTimeRange with AuthenticationEnabled

Hi Everyone,

Pretty simple question:

How can I use the ArchiveStudiesInTimeRange.py script with my AuthenticationEnabled set to true?

Regards