pouchdb/pouchdb-server — pull request #62 by dougwilson (2014-07-27 18:16:07+00:00)
Title: Use basic-auth module for parsing

I thought you may like this since it simplified your code quite a bit. It's not necessary, though :)