[ticket/181] Add functional tests for portal redirect