Test cherrypick of invitations hot fix
Merge branch '994-assigned-subroles-when-inviting-institution-user-are-now-carried-over-after-they-register' into 'master'
Resolve "Assigned subroles when inviting institution user are now carried over after they register."
See merge request !1156 (merged)
(cherry picked from commit 42193bdd)
7cceb8fd Fix subroles applied from InvitationsController