[ticket/12712] Add user_password to GROUP BY clause to fix query for mssql

Ticket: https://tracker.phpbb.com/browse/PHPBB3-12712
GROUP BY user_id
GROUP BY user_id, user_password
GROUP BY user_password
are all useless. The group by needs to be dropped.