Login issue, user receives a temp profile

https://github.com/MutonUfoAI/pgina/issues/12
Merge branch 'plugin-pgSMB' into v3.1.6.2