[5.0] Auth : factorize class hash