Corrected password hashing in admin creation.
Changed edit admin function to one using virtual attributes.