APP_AFTER_MAX_TICKET option implemented