[feature/passwords] Fix tests for 8th bit characters in bcrypt on PHP < 5.3.7

PHPBB3-11610