[ticket/12742] Replace authenticated with authorised

PHPBB3-12742
[ticket/12742] Remove unneeded sort of users

It doesn't matter which user will get the notification first so we shouldn't
sort the users array.

PHPBB3-12742