Fix HTTP 500 when sending a request for a user w/o a teamleader

Noticed-and-fixed-by: Felix Schäfer <felix@fachschaften.org>
Test-added-by: Me

Fixes GitHub issue #19
Closes GitHub pull request #20