let the user decide whether to use an already encoded instead of a plain authConfig object