Improve headers signing code, reducing the number of lowercase conversions and the number of string concatenations.

Rename the service class instances in some tests to be consistent with the other tests, to be named after the service class names.

Remove use of 'foo' and 'bar'.