Fix lifecycle test

The test in 8b5e7b6a fails as it depends on a unconfigured npm
which uses exact the same values as a vanilla npmconf instance.

It also externally depends on the module npmconf.