title: Delay when using Sign-In via Firebase Authentication
body: <p>I have created a Sign-In form in my app which works very good with regard to authenticating users and more.</p>
  
  <p>However, I noticed that once in a while when I try to sign-in I need to click multiple time on the sign-in button and every time that I click I get the following message:</p>
  
  <pre><code>W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzak@f52114e
  </code></pre>
  
  <p>Only like after 10-20 seconds it actually sign me in.</p>
  
  <p>I was wondering if there might be something wrong with the sign-in implementation?</p>
  
  <p>This is the sign-in code:</p>
  
  <pre><code>auth.signInWithEmailAndPassword(email, password).addOnCompleteListener(SignInActivity.this, new OnCompleteListener&lt;AuthResult&gt;() {
      @Override
      public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
  
      if (!task.isSuccessful()) {
          if (password.length() &lt; 6) {
              inputPassword.setError(getString(R.string.minimum_password));
          } else {
              LayoutInflater inflater = LayoutInflater.from( SignInActivity.this );
              View toastview = inflater.inflate( R.layout.toast_wrong_input, null );
              Toast toast = new Toast( SignInActivity.this );
              toast.setView( toastview );
              toast.setGravity( Gravity.CENTER, 0, 3 );
              toast.setDuration( Toast.LENGTH_LONG );
              toast.show();
              return;
          }
      } else {
          Intent intent = new Intent( SignInActivity.this, DiscoverActivity.class );
          startActivity(intent);
          finish();
      }
  }
  });
  </code></pre>