[fix] bin support of complex URL types for npm registries

smart-private-npm accepts multiple types for registry values:
  * an object with read and write properties
  * an array of URLs
  * a parsed URL object