Updated login and registration.

Now using mcrypt instead of openssl to generate salt.

No longer save salt to database or require for login.