npm-registry-client@3.1.7

Clean up auth logic and improve logging around auth decisions. Also
error on trying to change a user document without writing to it.