Added basic password support (hashlib sha512) to changes in flags database.