CLC-4229 - /act_as endpoint should only allow uid's that are valid

https://jira.ets.berkeley.edu/jira/browse/CLC-4229
Also, please add a new test to act_as_controller_spec that exercises the new restriction.