D 13310 max ttl

Code fix and functional test for setting max TTL for an auth token to MAX_INT if greater than MAX_INT or a negative number when converted from a long.