Fix Password

ALOG: ADMIN_HASH=  crypt (ADMIN_PASS , ADMIN_SALT)
must use salt for further php version compatiblity
fix password hash logic
fix password hash logic
add jpeg extension
add support jpeg extension
Revert "fix password hash logic"

This reverts commit 2a0bbd2002fb9af95741fb6109844787df1bdcc1.