Make Atheme query respect dynamic base URL