The test routines know that we have to set a phony IP-address, as Apache would do, which they do like this: $ENV{'REMOTE_ADDR'} = '1.2.3.4'; (Remember, this code worked.)
Note the last change log entry for MojoX::Session:
0.08 2009-01-25 00:00:00
- tx is passed to session now
- correct ip_match behavior
This is either suspicious or just a coincidence.
You might want to check that you haven't just upgraded to 0.08 and got a "working" ip_match, which has started turfing your dummy test IP addresses.