Validate network retrieved from cookie before re-route

Hotfix