mongodb credential usercredential is out of date need to find a way define mongocredential in servlet.xml