Fix a NullReferenceException in the SQL cmdlets and add missing tracing headers.

Fix a NullReferenceException in the SQL cmdlets that would consistently occur when any of them were executed before any other Azure cmdlets in a particular app domain.

Add session/request tracing headers to requests made by certain SQL cmdlets.