Swapped Flask-Security for Flask-HTTPAuth and cleaned user model