Fix stats collection for guest user.

This was breaking run deletion initially so was turned off. Now it is fixed
properly so that guest is detected and stats created if needs be.

This also fixes [SERVINF-93].