Revert "[#61435466] Fix SSL offload http redirect issue"

The reverted commit leaded to an incorrect redirection to the login page
when deployed behind a reverse proxy using another base url path than /
(e.g. /tattle), at less when using clear http (not https).

This reverts commit d6ca6684294b58f97510980361bfee4be123ffa5.