fixes #2378 - added Minitest and other code cleanups
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