Allow auth->getUserData to be retrieved with or without group memberships

Also implements caching of user data for mysql & pgsql plugins.

Resolves [FS#2086](https://bugs.dokuwiki.org/index.php?do=details&task_id=2086)
Addresses https://github.com/splitbrain/dokuwiki/issues/587
Fixed with commit https://github.com/splitbrain/dokuwiki/commit/07a1dd10b8b570789d74054892a20c952ee99e54