Changed to use only offline login.