[feature/passwords] Remove unnecessary specification of namespace in drivers

PHPBB3-11610
[feature/passwords] Get rid of unneeded code complexity

Simplified a little bit of code as pointed out by imkingdavid on github.

PHPBB3-11610