Fix deleting of API Sign-On token on HEAD request
See comment inline in code for an explanation
Merge pull request #110 from nburka/fix-api-sign-in-head-request

Fix deleting of API Sign-On token on HEAD request