tweak how werkzeug HTTPExceptions are handled by default