I have not used Firebase Authentication component very much so I have no enough knowledge about it. We shall have to wait for someone who knows answer.
The solution in this thread worked for me.
Thanks, I also had this problem, I solved it