changed 'credentials' fields default to NULL