Updated to work with the new Garmin Connect. This borrowed extensively from github.com/cpfair/tapiriik. Replaced urllib with requests package and added it as a dependency. Requests is more sane and has session tracking to handle the cookies for us.