Auth.prototype.onAuth fixes