restapi: aaa: fix coverity issue, default encoding

Topic: AAA
Change-Id: I5de36d41c23d548fb4a6d91902cbd00f358e09c5
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>