Steps to reproduce:
Note that you may need to deploy the fixes for LPS-96596 to make this fail. Otherwise it is possible that you cannot even arrive to the login dialog.
When portal.proxy.path is set, many js and css returning 404
contextPath is missing after login from portal-125
Automate LPS-99075 Proxy Path redirect