title: Flutter: Firebase authentication create user without logging In
body: <p>I have a user management feature in my flutter app that uses firebase authentication. I can register new user accounts using <code>firebase_auth</code>'s <code>createUserWithEmailAndPassword()</code> function.</p>
  
  <pre><code>return await FirebaseAuth.instance.
      createUserWithEmailAndPassword(email: email, password: password);
  </code></pre>
  
  <p><strong>The problem is when the registration is successful it automatically authenticates my <code>FirebaseAuth</code> instance as the new user even though I am already logged in.</strong></p>
  
  <p>I came across this answer: <strong><a href="https://stackoverflow.com/a/38013551/6300600">Firebase kicks out current user</a></strong> but it's in javascript and has a slightly different api.</p>
  
  <p>How can I do the equivalent in dart?</p>