Test for a custom TTL when creating credentials