Add headers parameter to allow tests to pass HTTP header values directly

Tests for secrets and orders resources can now pass HTTP header values
(in a dict) directly from the test using this new headers parameter.

Change-Id: I75c91cda89e3ffcec1916f7eb140a73f8f13584e
Merge "Add headers parameter to allow tests to pass HTTP header values directly"