Transformed all auth schemes to be prototype based