[ticket/11098] Fix error reporting on the autologin key pages

PHPBB3-11098