Fix after sign in path

Redirect the user to the app he came from.
Quick and dirty solution, will never be replaced :)