Detect if AUTH param is needed.