config tweaks so the debug toolbar works when served with gunicorn