We have a problem when the user navigate two times to login screen in the same session, the firebaseUI widget can not be re-initialized.
So for now, we detect if the firebaseUI initialization throw an error and reload the page in that case but the correct way would be to detect and reuse the current firebaseUI widget loaded.