- Fix OAuth2 requestPermissions.
- Fix OAuth2 requestPermissions.

Thanks to xet7 !

Closes #1722

GhassenRjab/wekan,GhassenRjab/wekan,wekan/wekan,GhassenRjab/wekan,wekan/wekan,wekan/wekan,wekan/wekan,wekan/wekan