fix api key generation when non admin
fix api key generation when non admin

but this will need to be better moved around

elabftw/elabftw,elabftw/elabftw,elabftw/elabftw,elabftw/elabftw,elabftw/elabftw