Fix for Codeception issue #1510 - site-root relative paths

Using a site-root relative path for a form's action fails if PhpBrowser
is configured with a 'url' basepath with a subdir (e.g.
localhost/subdir)