Fix Password tab visible to users without permission
Fix Password tab visible in edit profile to users without permission

* origin/pr/12181:
  Fix Password tab visible to users without permission