Confirmed that this was broken by HHH-2394: in 4.1.5.Final everything still works, in 4.1.5.SP1 the provided tests fail.