Convert unicode (but otherwise valid) hostname to ASCII. Pass hostname option to hostname-change as a string rather than a list.
Change firstboot redirects so they don't go to firstboot/firstboot.
first_boot needs to move up a folder to reach router. Prepend server_dir to redirects in router, auth, and auth_page.
prepend server_dir to remaining redirects
Prepend server_dir to form actions that use absolute paths.
Merge pull request #49 from jvalleroy/fix-hostname-change

Fix parameter for hostname-change
Allow Apache to serve Plinth's static files correctly.

When the */plinth/static* configuration is above */plinth*, it doesn't
work.  Move it below the */plinth* configuration so static files will
be served correctly.
Merge Hostname fix.
Revert 8fd6c607298517e6318ab027da940e3fe5c7830f.
Merge pull request #50 from jvalleroy/fix-redirects

Fix redirects
Made errors more Python version-independent.
Added Debug flag (currently unused).
Hash the password on the server.

This saves us the need of distributing additional client libraries,
and requires us to actually enable proper security instead of
badly-built shims.
Use bcrypt for login form. Add tests to check that salts and hashes are random, and check handling of invalid passwords or salts.
update model
Use bcrypt to hash passwords for new users in firstboot and user_add forms. Removed references to md5 hashing which was already non-functional.
Add add_user function to auth module.
Update tests for auth module, and fix some bugs discovered in auth module.
Fix check for already existing username in add_user. Add documentation of process for storing and validating hashed passwords.
Modify firstboot and user_add forms to use add_user function.