Added whitelist option for networks that don't require authentication