[ticket/12183] Make sure to undo changes to config in forgot_password_test

The forgot_password_test disables the password reset functionalty but doesn't
enable it again afterwards.

PHPBB3-12183