XWIKI-9838 Do not show "forgot password" link on login page, if the "forgot password" page is not accessible

 * fix typo which caused the links never to be shown