change session cookie name to avoid clash with old htgt
removed commented out code
removed dev server uris from header template