add set_login_view helper function and tests for per-blueprint login views.