Basic authentication for Rails 4 applications using dynamodb & dynamoid