Thanks everyone for the useful investigation and discussion about this.
I’ll close this topic since the issue seems to be unrelated to Sailfish OS. However, if anyone returning here wants to post further or thinks it shouldn’t be closed, please message me directly and I can look at it again.