Tweak to the frontend AJAX SSL issue