Renamed config.auth to config.api.