Fix feature-detection bug in HTTP and bug in test around setting claimant property.