XWIKI-10072: Broken login redirect when transparently hiding the webapp path through a reverse proxy
Fixed

(cherry picked from commit aa265546800300e59b82542ec3322456dce8416d)