Add tests for login errors on CBV apphooks
Add checks for failed login in CMSToolbar._request_hook_post
Fix test model get_absolute_url
Fix error signaled by pyflakes
Yeah, the future
Merge pull request #2923 from yakky/fix_login

Fix login on CBV based apphooks