Check for WEP when setting authmode (#5364)
Check for WEP when setting authmode (#5364)

* check if wep is enabled when setting authmode

* add requested changes

esp8266/Arduino,esp8266/Arduino,esp8266/Arduino,esp8266/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,sticilface/Arduino,sticilface/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,sticilface/Arduino