Fix up initial startup.

Ensure endpoints are added before credentials
Default endpoint is set to ECC
Add default AWS endpoint.