move auth config into Util::Config so it is accessible without loading MediaWords.pm (which causes permissions errors to load as the non-apache user in production)
remove calls to date.format, which break with sql "date" types