title: Setting up username and password for npm registry URL
body: <p>I am trying to use npm to install a package from url : <a href="http://host:80" rel="nofollow noreferrer">http://host:80</a> </p>
  
  <p>I did the following:
  npm config set strict-ssl false
  npm config set registry "&lt;>"
  npm --proxy <a href="http://host:port" rel="nofollow noreferrer">http://host:port</a> install &lt;> (our proxy does not require authentication)</p>
  
  <p>When I tired to run above install package command it throws 
  npm ERR! code E401
  npm ERR! 401 Authorization Required: @latest</p>
  
  <p>When I should I set the username and pwd for registry url.I googled and found that registry url and details are part of .npmrc file.</p>
  
  <p>Currently it has 
  strict-ssl=false
  registry=&lt;><code>enter code here</code></p>
  
  <p>Should I add username and password here in this file ? If so can you give me the format or how to add it or where to add it.Thank you.</p>