impl/EZP-22163 changed valid session checking