Web: set cookie maxAge to allow for a persistent login

Fixes #48

Signed-off-by: Alexander Schmitz <arschmitz@gmail.com>
Merge branch 'pr/50'