change settings

- change default format to 'json' .
- change authentication to 'basic' .