title: Airflow connection created without password and connection type
body: <p>I am trying to create a Snowflake connection in Airflow programmatically using DAG. However, after running the DAG file in Airflow, the connection is created without password and connection type. Please advise. The python code is as below:</p>
  
  <pre><code>default_args = {
      'owner': 'airflow',
      'depends_on_past': False,
      'start_date': airflow.utils.dates.days_ago(2),
      'email': ['me@me.com'],
      'email_on_failure': False,
      'email_on_retry': False,
      'retries': 0,
      'retry_delay': timedelta(minutes=5),
  }
  
  dag = DAG(
      'MakeConnection',
      default_args=default_args,
      description='Test',
      schedule_interval=timedelta(days=1),
  )
  
  def BuildConnection():
  
      conn = Connection(
              conn_id='SNOWFLAKECONNECTION',
              conn_type='Snowflake'
              host='abc.snowflakecomputing.com',
              login='AIRFLOW',
              password='123',
              schema='PUBLIC',
              port=443,
              extra=json.dumps(dict(Account='abc')),
              )
      session = settings.Session() # get the session
      session.add(conn)
      session.commit()
  
  run_Rule_SOW = PythonOperator(
      task_id='BuildConnection',
      python_callable=BuildConnection,
      dag=dag,
      )   
  </code></pre>