this fixes #1
Merge pull request #2 from Birdback/fix-auth-query

this fixes #1