Fix EZP-22430: Custom Location URL Alias not using redirect / 301

This PR resolves issue https://jira.ez.no/browse/EZP-22430

Custom forwarding Location URL alias was not handled for redirect.
This fixes the issue with tests.