User database is fixed

An issue with the user database was causing issues logging in and changing passwords. This has now been fixed.