Test for ae_Security. Fixed password hashing function and login script.