redirectTo now always points to last visited location

Old code didn't worked at all, so in new version we save redirect location if user is authenticated to correctly redirect them if they are merging accounts