resolved authentication problem which occurs in case password length is not 6