Fix url_prefix in functional tests

URL could have trailing slash which wasn't taken into account

Change-Id: Ia98d7459a60090ead9f631cde360e082ec951a1b
Closes-Bug: 1350365
Merge "Fix url_prefix in functional tests"