SHINDIG-1580 | Allow for custom security token fetch function to be used when refreshing security tokens | Improvement Patch from Jesse Ciancetta CR: https://reviews.apache.org/r/1564