2FA cookie would expire every hour

Fixes #2560

Signed-off-by: Shitiz Garg <mail@dragooon.net>