update auth logic and fix saveUrl and use requests instead of qtnetwork to remove libopenssl dependence