title: Can't generate FCM Token for some Devices
body: <p>I've Two android devices 5.1.1 , 5.0.2 and emulator(Pixel2 api 28 (android 9) ) , for the first device (<strong>5.1.1</strong>) i can generate fcm token with no problem </p>
  
  <p>I am using this code to generate token</p>
  
  <pre><code>irebaseInstanceId.getInstance().getInstanceId()
          .addOnCompleteListener(new OnCompleteListener&lt;InstanceIdResult&gt;() {
              @Override
              public void onComplete(@NonNull Task&lt;InstanceIdResult&gt; task) {
                  if (!task.isSuccessful()) {
                      Log.w("FCM_TOKEN", "getInstanceId failed", task.getException());
                      return;
                  }
  
                  // Get new Instance ID token
                  String token = task.getResult().getToken();
  
              }
          });
  </code></pre>
  
  <p>I am getting this exception when using the second device (5.0.2) and the emulator (android 9)</p>
  
  <p><strong>05-26 01:10:01.115 13377-13402/com.abc.payapp E/FirebaseInstanceId: Token retrieval failed: AUTHENTICATION_FAILED</strong></p>
  
  <p>What kind of authentication required when generating tokens !</p>