add exception handling around auth and add retries to the add_user
resource