[TAV-371] Fix ampersand escaping in url helpers.

Test added to the dummy app home controller functional tests to check we don't
regress this issue.