fix broken mobile doh tests, refs #17526

(cherry picked from commit 97b1346e065d0c20e08b74570dd14e2d319cf09d)