trying to add support for sts_max_age. fails test for it.