[TASK] Adjust tests to rewritten URLs in functional tests
The resolution for #44434 makes Flow behave as if mod_rewrite was
available during functional tests. Some tests checking against
generated URLs need to be adjusted, so they no longer expect it to
produce links with embedded "index.php".
Releases: master, 2.0