Fixes #144 Use cookie jar to prevent infinite redirections loop