Get session cookie when adding a server and save it in the android cookie manager.