Fix HTML5 validation error for nested checkboxes

When using Rails’ `check_box` helper inside a label block you get two
input elements which is invalid HTML5.
Trigger basic authentication when configured