Add support for the auth-retry parameter.