Replace rand() with mt_rand()

Replace all instances of rand() with the more efficient and random mt_rand() in application/libraries/Tank_auth.php