fix wrong redirection after login(SYSMO-1645)