improve(cockpit): redirect user after login

If a user tries to access a link (like a process definition)
but is not yet logged, he will have to sign in.
This commit will redirect the user to the originally wanted address.

Related to: CAM-1226