You're missing the ```insecure = <%= @keystone_settings['insecure']``` part here.

And BTW does it really need ```auth_url``` and the ```auth_host```,  ```auth_port``` and ```auth_protocol``` at the same time? This seems weird.