fixes UI errors in trend pages
fixes #2361 empty password does not invalidate compute resource
fixes #2361 do not reset password on test connection.
fixes #2450 - cookie name based on pathname to be able to reuse the js in other pages
fixes #2393 - Couple of models broken with audited 3.0.0

this is not a fix for the mass assignment problem, rather just to solve immedient packaing issue upstream.

a follow up on mass assignment should be done via another commit.