Moved default session ttl to const