Uncomment attachSchema to trigger login loop bug.