Restores server to responding to /api/v1/routes correctly

Note that a call to /api/v1/routes without an email query or with an email query that's not in the database will respond with a 400 error