Cleanup debug log.
Replace cloud_account references with credential, fix broken tests.
Update tests for model changes.