EDX-640: get session expiry from settings
Merge pull request #192 from yokose-ks/EDX-640

EDX-640: get session expiry from settings