refactor(elixir/phoenix): change to use Config over Mix.Config (#7608)
* refactor: change to use Config over Mix.Config
Fixes the deprecated warnings to use Config.
See https://hexdocs.pm/mix/1.12/Mix.Config.html
* fixup! refactor: change to use Config over Mix.Config