There are a lot of cases, where our customers users are instructed to launch application or show some passworrd, following by some URL, like https://REDIMWEBPORTAL/applications.asp?command=launch&label=js3
Of course, they got redirected to login screen. But after successful logon, they are redirected to the main page.
I guess it's better to save the URL path, that user provided. Also, one of our customers demanding for this.