Fix login and rails routes to serve up ember app if no route exists.