Clearing the cache was necessary to fix the problem, thanks!
However, the login form continued to show 502 errors even after clearing the cache. The missing tile from the user panel gave me a clue, I understood that the WordPress app is now listed at https://steko.iosa.it/yunohost/sso and not together with other apps at the “main” domain https://genovadalbasso.nohost.me/yunohost/sso … so I went into the options, activated the “Admin” tile and now I can login without any error from the user panel.
I still don’t understand how a 502 error can be caused by a cache problem on the client, but that’s another story