Register user with password or empty password