Add a state parameter in the returnTo URL

idem, subclass