Change allowed_hosts to include localhost by default