SAK-26296 - always use root of site to construct urls to /direct to get site resources

git-svn-id: https://source.sakaiproject.org/svn/content/trunk@309976 66ffb92e-73f9-0310-93c1-f5514f145a0a