Fix bug with 403 code path