Fix missing insert from bad previous master merge. Add mongodb authentication feature.