Fixed unit-tests broken by SL changes.

- fixed typo in npm-multiple-registries, where the condition for registry type
(single vs. multiple) was not working correctly

- fixed npmconf to support passing registry config object via ENV variables
(serialized as JSON string)