It seems if you have searched something which Google has interest in, you would be allowed to login. Below code on page points towards this:
var g=document.getElementById("g");g.src="https://foobar.withgoogle.com/"+window.location.search