Added support for credentials field to job