Use the favicon middleware.

The /:id route was being called when trying to retrieve the favicon, that's
fixed.