Retrying enforcing secure cookies from behind SSL-terminated load balancer