Call next from express error handler to prevent request from hanging
Throw errors rather than setting via res.send so they get logged
Reenable compression middleware
Not calling next() from login/logout route avoids 404