Fixed bug where user passwords weren't being encrypted upon creation