Fix shib incorrect target URL

It looks like the default CGI->url() behaves differently versions (3.51
and 3.62). In 3.51, CGI->url() returns full URL with path, but in 3.62
it returns only URL without path.
Merge pull request #478 from ubc/fix-shib

Fix shibboleth of 2.9 above