Okay so remember when in ATLA when Azula shot Aang in the avatar state and the Avatar cycle broke? Well all Aang had to do was connect with his past 4 lives and his connection to The Avatar spirit and his past lives were restored(Escape from the spirit world).
All Korra needs to do is do the same thing and her connection to her past lives will come back.