make login work for google domain