Issue with error redirection in case of a custom domain setup - Better Auth