more debugging code for failing session cookies