Optimize bcrypt hash matching process (don't calculate if we've previously calculated this bcrypt successfully)