Fitbit and Withings authorization subroutines