temporary fix for ajax-login