add test for remote cache store and changes for rest security configuration