user-passes-test - fix manager.check_permissions() so that request with 'pk' are allowed.
user-passes-test - fix tests.