moved logout check to Before hook to enable taking screenshots of failures in After hook
moved logout check to Before hook to enable taking screenshots of failures in After hook

Orasi/ruby-automation-bs,Orasi/ruby-automation-bs