Convert network api tests to use global CONF object

This commit takes all the uses of config in the network api tests
and converts them to use the global CONF object.

Partially implements bp config-cleanup

Change-Id: I4fc99d44073598513653cd87fd73a82a0b0093da
Merge "Convert network api tests to use global CONF object"