PHP - add code to reduce token expiry time based on a config setting