Fix error login failed