Fixes for OAuth on GateIn+Tomcat. Fix for performance in non-clustered scenario