Fix wlan parsing redirecting to login page