bad request on webfaction was due to ALLOWED_HOSTS not set