use the right layout when rendering login form on error
explicitly specify that Location.default_location_for grabs first by id
#42: Mandrill hooks for mail delivery; password reset pipeline complete; shift some hard-coded settings to ENV