[ticket/12944] Fix functional test

Fix forum_password_test.php functional test to provide user login
and correct entering the forum.

PHPBB3-12944