Implement auth-autodetection
Merge pull request #10 from tuxis-ie/3.4-api-auth

Implement auth-autodetection