Set cookie stuff when user logged in for auto login