Fixes template variable sent to layout on agent signup.