Sorry for the double post (I can't edit my other one). I created a new profile on firefox, which means zero cookies stored, zero cache, all new, and the redirecting error appeared, so is not a cookie problem since it was a brand new clean profile. The issue has to be at server level or database level I guess. Something is not compatible with Firefox.