hostapd: fix sta psk index for dynamic psk auth