Fix authentication
Merge pull request #5 from despark/auth-fix

Fix authentication