fix ssid input validation

fixes https://github.com/opentechinstitute/luci-commotion/issues/415