Generate an API key for new users, if not supplied.
Fix order by clause for first_wr_system
Prevent LDAP users from updating their passwords
Display API key on preferences screen.