set user-agent when not authenticated
Merge pull request #3 from JensTimmerman/patch-1

set user-agent when not authenticated