ensure credentials are sent as strings.