sdk: implement persistent authentication

Change-Id: I7de3893828ebf78e4605ee9e6f7564829a3ba252
Signed-off-by: Michael Pasternak <mpastern@redhat.com>