Add Typeable instance for User entity in Auth.HashDB. Fix #634.