[Finishes #75071830] Updated location storage functionality for proper storage of expected url after successful login.