Updated User test getToken method to use request instead of body parameters