Convert session timeout to seconds when it is set