add prelogin event for extra auth requirements to be handled by a plugin