Attempt to reproduce auth context behavior from production