Optimised `doAuth` options preparation
Optimised `doAuth` options preparation

refs #9866

TryGhost/Ghost,ErisDS/Ghost,JohnONolan/Ghost,bitjson/Ghost,JohnONolan/Ghost,kevinansfield/Ghost,kevinansfield/Ghost,JohnONolan/Ghost,Kikobeats/Ghost,Gargol/Ghost,TryGhost/Ghost,bitjson/Ghost,Gargol/Ghost,Kikobeats/Ghost,ErisDS/Ghost,e10/Ghost,kevinansfield/Ghost,janvt/Ghost,e10/Ghost,TryGhost/Ghost,janvt/Ghost,Kikobeats/Ghost,ErisDS/Ghost