Visitor authentication algorithm different in two places

Make sure the algorithm used to create the security hash is also the algorithm used to verify the security hash