Fixed problem with initial login being from google apps