Debugged authentication helper. find_by_attribute methods are not compatible with rails 4.
Prepared gem for release.