added authorization refresh using refresh token when survey upload attempt returns a 401