[#81633332] Fix VisualEditor positioning issue

The nav as it is implemented breaks VisualEditor’s scrollTop behavior,
making it jump to the top when copying/pasting. This commit changes the
nav implementation so VE is happy.
Fix check for successful sign in
[#81648346] Fix remote code execution in TasksController#enforce_policy_on_create
remove commented lines (version control ftw) [ci skip]
:trollface: [ci skip]
Merge pull request #550 from Tahi-project/ve-jumps

Fix Visual Editor scrollTop issue
Merge pull request #552 from Tahi-project/remote-code-execution

[#81648346] Fix remote code execution in TasksController#enforce_policy_on_create
Merge branch 'master' into task-type-registration

Conflicts:
	app/controllers/tasks_controller.rb