An authentication solution for Rails 4.