Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54974
SessionCookieConfig.setXXX methods will throw IllegalStateException if the ServletContext from which this SessionCookieConfig was acquired has already been initialized.

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

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