I had similar issue. I debugged the problem down to the setPersistance call. According to this discussion the proper way of calling setting persistence is calling it via Auth instance method:
this.auth.setPersistence(browserLocalPersistence).then(e=>{ ...... .... })
After I changed it, the issue was gone.