Is Google Chrome redirecting you to onelogin whenever you try to login into any Google account? This is how to fix it:
- Open Chrome
- Type chrome://settings/siteData
- search for onelogin in top right (see example screenshot below)

- Delete the onelogin cookies
- Now try logging to gmail again. Again see the annoying redirect?
- This time search for accounts.google.com in the top right
- Delete it (this is the crucial step)
- Now it should work.
If the same thing happens with Microsoft, you need to clear cookies for login.microsoftonline.com