Must only provide header if non-trivial.
Merge pull request #3 from Birdback/fix-unauthenticated

Must only provide header if non-trivial.