Updated the `ForgotPasswordDialog` component to use the provided API paths for requesting and confirming password resets.