apiverifycredentials was broken