I migrated the Wikidata Lexeme Forms tool to OAuth 2 (https://gitlab.wikimedia.org/toolforge-repos/lexeme-forms/-/commit/80583945a8 + https://gitlab.wikimedia.org/toolforge-repos/lexeme-forms/-/commit/43b18b8299) – please log in again, and let me know if you encounter any problems! 
And before I go and apply the same code to my other OAuth tools, as well as cookiecutter-toolforge (https://github.com/lucaswerkmeister/cookiecutter-toolforge) – if anyone wants to have a look at the code and make suggestions for how it could be improved, I’m all ears 
)