Fix the failing FirefoxOS session duration tests.

The wsapi library has an internal context. If a context is passed to the wsapi library, the internal context is not updated. When fetching cookies for FirefoxOS tests, make sure to fetch them from the correct context.