[ticket/13234] Never allow autologin/remember me to modify the userid

This prevents admin relogin with forced user id from overwriting
remember me cookies

PHPBB3-13234
[ticket/13234] Fix conditions and CS

PHPBB3-13234
Merge pull request #3090 from Nicofuma/ticket/13234

Ticket/13234