Add key_mgmt to connection example

This is needed since :key_mgmt appears to be in an undefined state when
the network is created.