use new build_auth_from_dict function