Fixed SQL script for user passwords