fix issues caused by password validations when running rake tasks and specs