Authentication framework

Issue #60

This commit provides:
- check 'authexpire' delay
- update last access time