[ticket/13248] Login functions need to use provider collection for retrieving provider

Ticket: https://tracker.phpbb.com/browse/PHPBB3-13248
Yeah, lol, Fixed that now. :P