Regenerate session ID when switching to SSL