fix another issue with infinite redirects after login; allow user to pass in a commit parameter to the solr document save to not have it commit after each save (defaults to true)