Fix login redirection without i18n issue