Merge pull request #90 from markhildreth/master

Fixed test case
Replaced _constant_time_compare with werkzeug's safe_str_cmp.