I see you are using MD5 encryption for the password, double check in the database that the pswd column is set to varchar(40). the MD5 encrypted string is a 40 character string. If the pswd column is not set to allow 40 characters, then it will be truncated in the database causing login to fail.