Machine auth fails but user auth works