Include iterations in user fields otherwise password is wiped. Issue: #509
Cleaned up user management code a little
Cleaned up loading on user management page.