tests(oauth): getCode tests were testing the wrong endpoint