fix a little bug when failling add provider

Signed-off-by: Thibaud Arnault <thyb@oauth.io>