LPS-43807 Google Login hook

We should also backport this to 6.2.x but it should be pretty straightforward.