Fixed #169 - Server crash

Sorry, just pass the username + token, not the index.