Make authentication check time-constant.