EZP-23778: Implement session-based auth in Behat RestContext