Updates to fix parameter bug impacting authtype. Fix for TransformName

I had a few bugs related to how parameters were being handled. If you're working from your fork then you should take these fixes as well.