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

Fixing issue #634.