Added token expiration (to fix logouts).