Fix bad token for MongoDB