[TASK] Raise maximum token lifetime to 5 years
With this change, the max. lifetime of a token is raised to 5 years. Additionally, the error messages regarding token lifetime validation have been improved.
This change is similar to the change for #489 (closed)
Closes #589 (closed)