Incorporate omniauth for flexible authenticaiton.

This will require that the application will configure the providers information.

For Example:
config.omniauth :twitter, <consumer_key>, <consumer_secret>
config.omniauth :cas, host: <host_name>, login_url: '/cas/login', service_validate_url: '/cas/serviceValidate'

in device.rb