Can access gui after upgrade to freepbx 2.7

Mikael!
Please prompt.
I do so:
UPDATE ampusers SET password_sha1 = MD5(‘admin’) where username ='admin ';
As a result I receive not such password what you result. Or in freepbx it is used not MD5 coding?

The password is sha1 encoded, not MD5.