Add optional db authentication to default code generator runner