test the login for googlo APIs