added login cache checking to Authentication page