Improved SSL check and IdP-Error results