Fix problem with /api/me call

Due to this bug the `/` view on the client refused to work. This patch should fix that.