Weird auth.js type behaviour with custom providers - Theo's Typesafe Cult