added password encryption, fixed to mojolicious 5+