ICSHWI-12002: Fixing Login view redirection
Previously after the user logged in the FE redirected the browser to the previous page - even the user came from an external site e.g. google Now we check if the user has navigated to the Login page from the app or not. If user was navigated from the app it will redirect the user to the previous page. If user was visiting an external site, or entered the login page manually, it will open up the home page.