[2.1] Fix coupon limit checks and enhance to check ID by provided email (if logged out)

Fixes #5535