Fixed login issues on chrome