Kibana logout not working when using nginx reverse proxy

@tsullivan pinging you because i used your solution from here: Auto-authenticating to iframe-embedded Kibana dashboard Any suggestions on how to fix this logout issue?