[#975562] Make login callback sync