Supporting persistent session cookies