PLA-263 -- fix regression in wiki ID setting due to updates to search config

The update to the search config introduced a regression that prevents controllers from setting the wiki ID, and always defaults to the current wiki ID for query services that use wiki ID as a data point. This defect has been addressed, and the requisite unit tests have been introduced.