GUI-1384 fixed breakage when changing expired password

fixed broken reference to changepassword screen. re-factored iam permissions check into common code

https://eucalyptus.atlassian.net/browse/GUI-1384
This exception clause is too broad.