Hack fix for impersonating users

- Temp hack fix for getting User.employee? and User.student? to behave
  correctly when impersonating user. The "impersonating" variable should
  perhaps be split in two separate variables.