extapi: Changing fetch principal to support principal

Change-Id: I6d2b532f56ef5b3a38af79ef869c5a5c8bf526bf
Bug-Url: https://bugzilla.redhat.com/1127623
Topic: AAA
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>