Here is an article about SharePoint Form Configuration. Basically, you need to modify the web.config of the content site and central admin site. But you should keep the central admin's role provider
One thing to note is that you need to enable the PeoplePickerWildcards like the following.
Another thing is make sure the application pool account can access the user database.