Updated default configs. Modified implementation for api_token authentication