[PATCH v2] Set ssid when authenticating