refactor(modals): use Close instead of Abort
improve(task): test if authentication property is available on $rootScope
improve(tasks): test if user is logged in before performing listing request
improve(task): prevent performing request when no task id can be found
refactor(login): harmonize login form with cockpit

Related to: CAM-2656