Improve method for suppressing password_digest error message