Fix to authhelper