Revert "Using better way to check for active session"
Revert "Using better way to check for active session"

This reverts commit 439a33c70827d0986986ca9ad8c3b3daf94fb84f.

et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api