Make test a little more robust

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1487857 13f79535-47bb-0310-9956-ffa450edef68
Remove this unnecessary test. The root cause of the APR/WebSocket problem was not repeating an incomplete write with exactly the same buffer.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1487859 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54999
Fix JSESSIONIDSSO not recreated when a logout and login occur in the same request.
Patch provided by Keith Mashinter

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1487862 13f79535-47bb-0310-9956-ffa450edef68