Add ALLOWD_HOSTS for non DEBUG runs; Add 400 template;