Add back ResidentLoginEvent, used in my fork of TownyChat