add #valid_for_authentication? to customer repo