2014.7 fix opts loading in unittests

These are required when running the tests suite as non-root.