Add helper to get creds from the URI