Token auth: lifetime type, interval of validity

Introduce lifetime type, which can be fixed, renewable_manual,
renewable_auto or permanent. Fixed token cannot be renewed,
renewable can. Renewable_auto is renewed on each request.
Renewable_manual has to be renewed explicitly.