Revert "Fixed authentication and getting around the strtolower"

This reverts commit eb75987533bc057c1c30e6e6a04775a49490c368.
Config reading