Create logged in cookie bug fix.