I had the same issue with frameworks and query builders and so on. This is how I managed to insert the encrypted password. The encrypted password from L2Crypt.js should look like this: 0x256891DE63C270EDD8416767AA301616 . Then you insert this using CONVERT inside user_auth
CONVERT(BINARY(16), '$pass', 1)
And for the answers of the security questions (answer1 & answer2 inside user_auth)
CONVERT(BINARY(32), '$answer1', 1)