Regenerate session ids.