test for login cache