SD-919 - The logged user is not able to change his password

Use get_user() from apps.archive.common to retrieve the user. Using flask.g.user couples your code tightly to flask.