using custom pwd_context that is shared between Flask-Security and Flask-JWT