MDL-68974 admin: Prevent login as outside of the desired context