Ensure that base URL is only stripped from the start of the redirect, refs T309

Test Plan: ???

Reviewers: rjmackay

Reviewed By: rjmackay

Subscribers: srutto

Maniphest Tasks: T309

Differential Revision: https://phabricator.ushahidi.com/D450