Automatic password conversion from MD5 to CRYPT when login successful