Implemented persistent authentication session.