Fix buggy encoding for checkpoint login