Add support for credentials in the schedulerdriver