TLPORTAL-54: fix anon user handing and make launch consistent between lo...

...cal and tomcat environments