Moved CreateProvider method

Moved the "Create Provider" method to the authentication sample and
remove that same line from every other sample.