#488 Added tokenauthentication to apiv2