change auth example to hash passwords

Hashing passwords in auth example as per #606