After upgrading plesk control sometimes it happens that the Plesk admin panel starts redirecting to hostname:8443/relay and whichresults in a 404 not found page and this happens because the select/activated sso component while upgrading the Plesk control panel.
We can fix this by simply running the below command as root user :
"/usr/local/psa/bin/sso --disable "
This will solve the issue