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

* Used in the selenium tests instead of running `unsafeEval` or `eval`

fixes #1285 

@zaach, @pdehaan or @vladikoff - wanna have a look?
It seems we don't. I opened #1318 to remedy this.