fix($location): set `baseHref` in mock browser to `/`

Set the default value for the base tag in the mock browser to `/`,
as we now always require a base tag to be present for html5 mode.

Fixes #8866.