add tool to calculate ssha
add auth test with sql realm