Update FongoDB so it can handle credential. The strategy is quite simple and allow just to ensure that any call to doAuthenticate will feed internal credentials so further call to isAuthenticated could answer true or false instead of provoke an NPE.