EDX-640: get session expiry from settings
Merge pull request #161 from YoshidaKS/EDX-640

EDX-640: get session expiry from settings