I have created a custom signup form that just asks for email and password. It uses the email as the username. The user is created successfully in the database.
After calling await signup({ email, password, username: email }); I call await login(email, password);
I would expect Wasp's hSucceededRedirectTo to take over at this point. However, the browser stays on the signup page. If I click on a protected page, I am able to load it correctly (i.e. the user is actually logged in). How should the redirect actually work after authentication?