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

https://jira.ets.berkeley.edu/jira/browse/CLC-4229
It's more normal Ruby style to not include the "return" on the last line, though.