Version 6.2 of the Firebase SDK added support for removing the persisted cache (think logout) via clearPersistence(). It would be great to see that implemented.