After check_login api, a GQL request for the keypair is sent, but there is a bug where the session ID is not cleared when that request fails JIRA Issue: FR-1803