Use `two_factor_enabled?` instead of `otp_required_for_login?`

Closed Robert Speicher requested to merge rs-ldap-2fa-check into master

Preventing a merge conflict after gitlab-org/gitlab-ce!2688 is merged.