lua: fix WPA cipher reporting