refactor(navigation): harmonize navigation

improve(login): create a directive for the login form
fix(login): focus the username field in FF

Related to: CAM-2658