SERVER-15992 dumprestore_auth{2,3} js rely on W=0

Closes #865

Signed-off-by: Benety Goh <benety@mongodb.com>
Merge remote-tracking branch 'upstream/master'