fix tests for the mojolicious app used by daemon

This revealed a bug in the app that was causing the folder path to 404:
Mojo::URL->path returns a Mojo::Path object, not a string, and
Mojo::Path objects cannot (yet) be given to Mojolicious::Route.

Closes #114