Add bean for resolving the base url of site