fix digitalocean v2 api content-type when using json

In case of using json we need to set content-type header.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
Hmm before i'm add 500 code in case of wran auth data provided by user error not catched.