feature(test): Add a `/clear` route that clears browser state.

* Used in the selenium tests instead of running `unsafeEval` or `eval`

fixes #1285