I do get logged out of PoGO once or twice a month. I just swipe to fully close PoGO in Recents screen, clear the its cache in Apps Details, unhide then hide it again in Magisk Manager. Finally, I can log in and play again.
Sometimes I have to do the process more than once to get PoGO working...