With the newer versions of ios, such as ios 13, you can customize your Safari features. While browsing the Experimental Webkit Features, I accidentally enabled requestIdleCallback, which made it impossible to login to any google accounts.
To disable requestIdleCallback on your device and re-gain access to your google accounts, do the following. First, go to the Settings app. Then choose the following series of options: Safari > Advanced > Experimental Features. Finally, disable requestIdleCallback.