if authentication or endpoint is missing, log message and quietly return...
if authentication or endpoint is missing, log message and quietly return during cloud account creation
This also includes a little refactoring to reduce cyclomatic complexity by moving the header extraction into a helper function.
Edited by Brad Smith