Fixed bug #10467: AJAX relogin does not work