Fixed the account name as it is prefixed by the platform name. Also fixed the dot in the cookie to an underscore.