Basic authentication on rails 4