Simplify check code due to changes in subtle.ConstantTimeCompare() (https://codereview.appspot.com/118750043)
go vet