Make npm registry check pass for people using the registry via HTTP

This is sometimes a necessary npm config change for people behind corporate firewalls :disappointed: