npm/npm — pull request #6680 by terinjokes (2014-11-11 08:45:56+00:00)
Title: Pass auth parameters to requestAll_ for alwaysAuth.

I'm not a huge fan of the current `npm search`, due too its documented issues with the public reigstry. I was looking for the name of an internal package today, and I expected it to be the friendliest solution. Unfortunately, it failed with an unauthorized error.

I noticed that auth from "map-to-registry" was being provided as a parameter to updateIndex, but that these parameters weren't being passed through to request.

Added an updateIndex scenario, attempting to replicate the situation.