[FIX] Construct generic authentication