Fixed baseSetupUserPermissions (bnc #894378)

The function should not operate on system user accounts.
The function should not operate on accounts without
login shell