Fix uniqueId returning null in LoginEvent