Fix permissions issue for changing user login
Fix permissions issue for changing user login

fixes CNVS-21551

Test Plan:
* Create an Account Role with only
  "Modify login details for users"
  and "See the list of users"
  permissions
* Create a user and assign them to
  the custom role you just created
* Log in as the new user and go to
  another user's profile
* Add/update the one of the login's
  passwords
* It should work successfully and
  show a success message

Change-Id: I3bfa41cbfcfac7a8a5375e8d67e2c59f8b39bfd9
Reviewed-on: https://gerrit.instructure.com/57426
Tested-by: Jenkins
Reviewed-by: Sterling Cobb <7a57d889ea7f266299434459898a90c7f6a1ca4d@instructure.com>
QA-Review: Jahnavi Yetukuri <ed2b2672ccc2e59e56c0615df7f01b579202e014@instructure.com>
Product-Review: Dan Minkevitch <2591e5f46f28d303f9dc027d475a5c60d8dea17a@instructure.com>

utkarshx/canvas-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,leftplusrightllc/canvas-lms,shidao-fm/canvas-lms,utkarshx/canvas-lms,efrj/canvas-lms,Jyaasa/canvas-lms,venturehive/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,Jyaasa/canvas-lms,venturehive/canvas-lms,roxolan/canvas-lms,leftplusrightllc/canvas-lms,djbender/canvas-lms,sdeleon28/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,whalejasmine/canvas-lms,venturehive/canvas-lms,juoni/canvas-lms,Rvor/canvas-lms,fronteerio/canvas-lms,leftplusrightllc/canvas-lms,kyroskoh/canvas-lms,roxolan/canvas-lms,skmezanul/canvas-lms,SwinburneOnline/canvas-lms,ShreniiNepal/shrenii_lmp,antoniuslin/canvas-lms,Jyaasa/canvas-lms,redconfetti/canvas-lms,wrdsb/canvas-lms,tgroshon/canvas-lms,jay3126/canvas-lms,greyhwndz/canvas-lms,HotChalk/canvas-lms,greyhwndz/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,HotChalk/canvas-lms,djbender/canvas-lms,fronteerio/canvas-lms,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,sdeleon28/canvas-lms,shidao-fm/canvas-lms,efrj/canvas-lms,efrj/canvas-lms,ShreniiNepal/shrenii_lmp,djbender/canvas-lms,fronteerio/canvas-lms,antoniuslin/canvas-lms,HotChalk/canvas-lms,skmezanul/canvas-lms,skmezanul/canvas-lms,leftplusrightllc/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,djbender/canvas-lms,wrdsb/canvas-lms,kyroskoh/canvas-lms,whalejasmine/canvas-lms,tgroshon/canvas-lms,utkarshx/canvas-lms,sdeleon28/canvas-lms,jay3126/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,venturehive/canvas-lms,kyroskoh/canvas-lms,shidao-fm/canvas-lms,tgroshon/canvas-lms,whalejasmine/canvas-lms,greyhwndz/canvas-lms,redconfetti/canvas-lms,wrdsb/canvas-lms,ShreniiNepal/shrenii_lmp,sdeleon28/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms,Rvor/canvas-lms,juoni/canvas-lms,SwinburneOnline/canvas-lms,Rvor/canvas-lms,grahamb/canvas-lms,wrdsb/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms,greyhwndz/canvas-lms,roxolan/canvas-lms,redconfetti/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,tgroshon/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,kyroskoh/canvas-lms,shidao-fm/canvas-lms,efrj/canvas-lms,antoniuslin/canvas-lms