Fix test cred permissions