WELD-1810 @Dependent @Stateful session beans are shared between injection points

The fix 4cacc00 could be applied to 2.2 branch. However, all the tests rely on the new configuration feature (using `weld.properties` file) and so the tests can only be merged after WELD-1803 is resolved.