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