Fixed session updating.

Previously the database store was adding a hardcoded 7 days and file
store wasn't adding anything at all. Now both of them use the value
specified in the environment variable configuration.
Don't override port if set explicitly

The server will now listen on the right port if Env is modified
directly. The port reported in the logs is also fixed.
fixed some stupids