Fix for htpasswd in rails_app