[ticket/16697] Remove $CP$ prefix when updating hashes and support phpBB2 check
The $CP$ prefix is not part of the actual password hash.
phpBB2 passwords converted do currently include a phpass hash of the md5 of
the password. Make sure these are correctly checked.