fix config for dev setup

* kws_port was present twice
* valid_origins and kws_host are needed in dev setup
  - because we do not run a proxy, its same host but different ports, that are accessed thru ajax