login cookie fix