Converted session and login to v6.