Update PostgreSQL schemas and queries
Fix potential crash with SSHA and salts > 44bytes