Implement the logout callback for CardOS 5.3 as well.