Authentication adjustments for powershell