This fixes “Wallet file not specified” errors when making batch wallet RPC calls with more than one wallet loaded. This issue was reported by @NicolasDorier in #11257
Request URI is not used for anything except multiwallet request dispatching, so this change has no other effect.