Fix TFS#658375: validate SQL username and password only when new SQL DB is created
Fix TFS#670239: allow custom User-Agent header on management requests