Introduce get_bound_ldapuser() helper.
Bind properly for *OTP setup.
Merge pull request #69 from mgorny/otp-ldap

Proper bind for OTP setup
login: give a proper info() message when asking for strong auth.
login: ask only for password when upgrading auth.
Add more docstring on okupy.common and okupy.otp.
Revoke OTP tokens in views rather than backends.

Since we use a single revoked token database, we should also revoke each
input once. When revocation was done in models, the second backend would
always hit the token already revoked. Instead, revoke them in views.
Use shorter otpauth:// URI.

Since we're going to be the auth backend for whole 'gentoo.org',
and nothing else uses OTP there, we can just use 'gentoo.org'.
Merge pull request #70 from mgorny/cleanup

Cleanup
Add test_ prefix to all the test files

This way the test discover runner can find them properly
It is now possible to call them by directory or file
Conflicts with other modules are now avoided as well
Use TestCase instead of OkupyTestCase for login integration tests
check if the passwords match in form.is_valid()
Stop iterating when secondary password is removed
Iterate through all passwords in the list

If there are three items in the list and the second one gets removed,
then the third one gets ignored.
By iterating to a copy of the original password list we ensure all items are
getting iterated.
Add ability to specify attr name in set_search_seed
Combine get_ldap_user and get_all_ldap_users to ldap_users

Add ability to clean the directory from user accounts
Apply the previous helper changes to the test suite

Move some login tests to the non-ldap class
Remove try/except block, ldap connection check is performed already
Improvements in signup/activate views:

Use .latest() for getting the max uidNumber
Add all needed LDAP attributes
Other minor improvements
Add @anonymous_required decorator