move delegate_credential from sfi.py to sfaclientlib.py