Update custom_authentication_provider.rst

Necessary to remove the "Failed to start the session because headers have already been sent" error