Some robustification of bad agent/user/league ids.

Won't crash server, but also does not redirect.