WELD-1660 Allow to register alternative during AfterTypeDiscovery event
WELD-1660 Fix AfterTypeDiscoveryTest