Use wget to login. Convert cookies.