Use wget to login and convert cookies.