Fixed problem with detecting session ID if response contains multiple Set-Cookie headers.