SEC-2593: Support stateless mode in Spring Security Test