Refactor extract method `integrate_with_devise_case_insensitive_keys`

Closes #137