[ticket/13248] Use functional framework login method in tests

PHPBB3-13248