SHA-256 based password hashing

Added hashing of passwords when dealing with registration/login process.
Not hugely necessary for our particular app, but good practice doesn't
hurt!