Update auth.php

updated to work with new config structures