[5.0] Session : invalidate should return migrate result

As this is already the case for `regenerate`