ServerMethods: Fix bug getting session id from json requests

Change-Id: If5a551d5dfe201d8a3557d34492eb4b7e0225687