From AM7 OPENAM-15606 idtoken is not returned and upgradeSessionWithCustomLoginPage started to fail.
Custom login page always saves iPDP cookie value based on tokenid value from json/authenticate response. And AM will not give it if iPDP cookie value in request and returned cookie is same.
We need to add condition to custom login page to not set iPDP cookie in case of:
- session upgrade