Fix smoke test
Fix not found page

The not_found handler captures all 404 errors, even the `halt 404` in
the API. That's not what I expected.