Fixed issue when completely closing browser but session is still considered valid.
Fixed issue when completely closing browser but session is still considered valid.

HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend