How would you automate the testing of an API endpoint that requires dynamic authentication tokens at Berkshire Hathaway Guard Insurance Companies?