The "Django Unchained" actress who claimed she was harassed and hurt by cops after making out with her boyfriend was actually having sex in her car according to witnesses ... then went on a rant with cops accusing them of racism and not knowing who she was ... according to police audio obtained by TMZ.