Put http auth condition before include or it may never be executed.
Merge pull request #9 from peterlozano/auth-fix

Put http auth condition before include or it may never be executed.