Fix config setting references in API tests

These tests are being skipped in the CI system because
we aren't installing Ming. I'm working on a separate
patch to restore Ming to the dependency list for tests,
and while preparing for that I found that these tests
break when Ming is installed.

Change-Id: I4604bbde0c92109b4e2a88f1492793d75c5c0e4d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>