upgraded rand and security for public access token in api service with mcrypt
upgraded rand and security for public access token in api service with mcrypt

bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms,bva100/cms