Extended the test_login_required to check if LOGIN_URL set to view or
pattern name still allows the decorator to work as expected.

The new cases are only checked if mezzanine.accounts is installed.

These additional LOGIN_URL possibilities were introduced in 1.5; view
objects should also work, but don't seem to be documented.