jaredhanson/passport-http — pull request #11 by fjakobs (2013-05-05 12:01:07+00:00)
Title: return 401 instead of 400 if no password or username is provided

Like in #9 the basic auth strategy also returns a 400 code when no password or username is provided. The same browser cache issues arise as in the digest strategy.

I'm wondering why this check is here in the first place. Shouldn't this be the decision of the user in the `verify` callback?