update tests to check inactive users
check if user is active before creating a code
fix #2, add supports_inactive_user in backend
update setup.py