Generalize auth/access/funding search forms

With a bit more work this could be used for tags, too, and maybe even
other places we'll need (auto)completers.

Styles need reviewing.