Improve the authentication

Change the Cookie DPID. Extend the expires time.