Fixes updated versions of dependencies
After !159 (merged) we started to suffer some problems
- errors in the logs possibly related to https://github.com/pallets-eco/flask-caching/issues/221
- error 500 when trying to log in (change in behaviour of Authlib)
This MR reverts to an older version of flask-caching and fixes the use of Authlib.