Fixed a bug causing MongoDB to not update players' documents
Because of this bug, whenever a player tried to authenticate with a correct code and the storage was set to MongoDB, it would say the code is incorrect but authenticate the user nevertheless.