Refs #37, fix closure issues in AutoCreateUserTest.