Be robust to trailing slash in URL

E.g. `http://localhost:7474/` instead of `http://localhost:7474`.

Currently it throws a 404 error.