Use cURL to get QR code from Google API instead of redirecting the user to Google.