Fix a bug that prevents the /tktnew page from working with no login.