Fix UserMixin hashing with Python 3
Fix coverage