Add authenticate_user! before filter to DataPoints and to Days. Add a $.ajaxPrefilter to include the csrf-token. Fixes 401 problems when updating resources
Make login field a password field (type=password). Remove left over / commented code in the controllers.
Pull authentication controller code into auth_controller.js.coffee; Add clearAll and destroyNotification actions to NotificationsController.