[Ready][3.9] Substitute random string generator by Randomlib

todo : 

- [x] Update random generator in media/abstract
- [x] Update random generator in API/OAuth2/Token