save auth_hash when logging