A simple extension of the existing WebClient class to handle implementing persisting authentication cookies and adding timeouts.