Add preparation for provider (bug 942361)

Actually I think this entire bit of code is redundant I don't think you can get to done if it's not a 2XX status.