Fix issue with adoption report using config that was unsuited for query
Previously, was using the base URL of the application which is used in routing requests. This wasn't the same as the URL used as the host in the sessions table, leading to empty reports.