Password compatibility layer for PHP5.5