Fix and Unit Test for #3049 (Hazelcast Session Clustering with Spring Security Problem)