Don't set auth-type. It's almost always wrong