Detect if AUTH param is needed.
Merge pull request #1 from SPHINX--/master

Detect if AUTH param is needed.