Fix scoping issue on signup

closes #2429