2FA cookie would expire every hour

Fixes #2560

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #2566 from Dragooon/release-2.1

2FA cookie would expire every hour