resolve issue with invalid password test