Set after_sign_in_path_for to kyoshi_root. This should fix the incorrect occasional redirect to /assets?controller=kyoshi%2Fwelcome&locale=en on production.