Fix settings and migrations of webhooks related to restframework to make tests runnable.