An Efficient Authentication Mechanism on Ad-Hoc Telematics Environment