Fix redundant trait in authentication.